package com.course.domain;

import java.io.Serializable;
import java.util.Set;

public class College implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 4527515253492670775L;
	private Integer id;
	private String name;
	private Set< Department > departments;

	public Integer getId()
	{
		return id;
	}

	public void setId( Integer id )
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName( String name )
	{
		this.name = name;
	}

	public Set< Department > getDepartments()
	{
		return departments;
	}

	public void setDepartments( Set< Department > departments )
	{
		this.departments = departments;
	}

}
